package main

import (
	"fmt"
	"unsafe"
)

func fun(num int) {
	defer func() {
		err := recover()
		if err != nil {
			fmt.Println("recover panic, err:", err)
		}
	}()
	panic("panic error info")
}

func main() {
	//	go fun(1)
	//time.Sleep(time.Second * 1)
	a := 5
	//r := unsafe.Pointer(&a)+unsafe.Pointer(&a)
	r := uintptr(unsafe.Pointer(&a))
	fmt.Println(r)
}
